﻿using Appliaction.Dto.Pinv;
using Domain.Entitys.Pinv;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Appliaction.IAppServices.IVendorService
{
    public interface IVendorService
    {
        //分页、条件查询
        List<pinv_vendor> Pinv_VendorFYWhere(string Vendor_name, string Vendor_code, int currentPage, int pageSize);
        //查询总条数
        int Pinv_VendorCount(string Vendor_name, string Vendor_code);
        //增加
        Task<int> Pinv_VendorAdd(VendorAddDto vendor);
        //删除
        Task<int> Pinv_VendorDelete(VendorDeleteDto vendor);
        //修改
        Task<int> Pinv_VendorUpdate(VendorUpdateDto vendor);
        //条件查询供应商编号、昵称
        Task<List<pinv_vendor>> Pinv_VendorWhere(string Vendor_name);
    }
}
